<table class="layui-table text-center" lay-size="sm">
    <thead>
        <tr>
            <th>图片</th>
            <th>SKU</th>
            <th>单价</th>
            <th>盘赢</th>
            <th>盘亏</th>
            <th>仓库</th>
            <th>盘点单号</th>
            <th>盘点人</th>
            <th>备注</th>
            <th>盘点时间</th>
        </tr>
    </thead>
    <tbody>
        {volist name="list" id="item"}
            <tr>
                <td width="100"><img src="{$item.image_url}"></td>
                <td class="copy-text">{$item.sku}</td>
                <td>{$item.price|abs}</td>
                <td><span class="{$item.in_qty?'text-blue':'text-muted'}">{$item.in_qty?:0}</span></td>
                <td><span class="{$item.qty?'text-red':'text-muted'}">{$item.qty?:0}</span></td>
                <td>{$item.warehouse.name}</td>
                <td class="copy-text">{$item.check.check_sn}</td>
                <td>{$item.admin.nickname}</td>
                <td class="text-left">{$item.remark}</td>
                <td>{$item.create_time}</td>
            </tr>
        {/volist}
        {empty name="list"}
        <tr>
            <td colspan="10">没有数据</td>
        </tr>
        {/empty}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>